package entity;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Guibin extends PlayerEntity {
	// 属性
	private final static int add = 1;

	@Override
	public int doStart() {
		List l = new ArrayList();
		for (int i = 3; i <= 18; i++) {
			l.add(i);
		}
		Collections.shuffle(l);
		int i = (int) l.get(0);
		if (i == 18) {
			return i;
		} else {
			return (i + add);
		}
	}

}
